package com.ac.api.alarm_record.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ac.api.alarm_record.entity.AlarmRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 设备报警记录表 服务类
 * </p>
 *
 * @author dc
 * @since 2025-06-11
 */
public interface AlarmRecordService extends IService<AlarmRecord> {

    /**
     * 条件查询
     * @param example
     * @return
     */
    List<AlarmRecord> list(AlarmRecord example);

    /**
     * 分页查询
     * @param example
     * @param page
     * @return
     */
    IPage<AlarmRecord> page(AlarmRecord example,IPage page);

}
